<div class="header">
	<back-Btn></back-Btn>
	出场申请
</div>
<div class="container finance">
	<div class="list f_sk">
		<label class="list-item icon_more required">
            <p class="item-label">出场日期</p>
            <p class="flow-content">
                <input type="text" date-directive datetype="datetime" id="start_date" ng-model="param.attendanceDate" class="c0" />
            </p>
        </label>
		<div class="list-item required">
			<div class="item-label">出场地点</div>
			<div class="flow-content">
				<input type="text" ng-model="param.address" />
			</div>
		</div>
		<div rela-module taskid="process_id" param="param" rel="CC_MODULE"></div>
		<div class="list-item list-item-textarea">
			<div class="item-label">备注</div>
			<div class="flow-content">
				<textarea cols="30" rows="10" ng-model="param.remark"></textarea>
			</div>
		</div>
		<!-- 附件 -->
		<div class="file-upload" file-upload file-data="param.attachment">
		</div>
		<div class="list-item icon_more required" ng-click="getOutUsers()">
			<div class="item-label">添加出场人员</div>
			<div class="flow-content"></div>
		</div>
		<div class="list table-list">
			<div class="info-title" ng-show="param.details.length">已经选择人员</div>
			<div class="table-item" ng-repeat="item in param.details" ng-class='{mt0:$first}'>
				<div class="delete_icon icon_del" ng-click="deletedItem($index)"></div>
				<div class="content" ng-class="{cur:$index==index}" ng-click="resetlist()" ng-swipe-left="swipe($index)" ng-swipe-right="swipe(-1)">
					<div class="list-item">
						<div class="item-label">人员名称</div>
						<div class="flow-content">{{item.ownerName}}</div>
					</div>
					<div class="list-item">
						<div class="item-label">证件类别</div>
						<div class="flow-content">{{item.certificateType}}</div>
					</div>
					<div class="list-item required">
						<div class="item-label">出场费用</div>
						<div class="flow-content"><input type="text" ng-model="item.attendanceCost" tel-directive /></div>
					</div>
					<div class="list-item">
						<div class="item-label">备注</div>
						<div class="flow-content"><input type="text" ng-model="item.remark" /></div>
					</div>
				</div>
			</div>
		</div>
		<!-- 自定义字段 -->
		<div user-defined  param="param"  field-map="param.fieldMap" validation="validation" uid="param.uid" processid="param.processInstanceId"></div>
		<!-- 审查日志 -->
		<div log-list status="processStatus" taskid="process_id"></div>
	</div>
</div>
<!-- 删除流程 -->
<div delete-flow uid="param.uid" id="{{param.processInstanceId}}" submit="submit" validate="validate"></div>
